<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>注册新软件</title>
<style type="text/css">
h1 {
	color: #494949;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.1em;
}

label {
	color: #006600;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 120%;
}

label.pure {
	color: #111111;
	font-size: 12px;
}

input {
	font-size: 12px;
	margin-right: 3px;
}

span.pl {
	color: #666666;
	font-size: 12px;
	line-height: 150%;
}

ul.errorMessage,ul.errorMessage li {
	display: inline;
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	color: #FF3300;
}

#wrapper {
	margin: 0 auto;
	width: 950px;
}

a {
	text-decoration: none;
	color: #336699;
}

a:hover {
	text-decoration: underline;
}
</style>
<s:head />
</head>
<body>
<div id="wrapper">
<h1>注册新软件</h1>
<span class="pl">注册软件之后您将得到访问Open API所需要的APP ID和CERT CODE进行软件开发。</span> <br />
<s:form action="newapp">
	<label for="newapp_software_name">软件名称：</label>
	<br />
	<s:textfield name="software.name" maxlength="18" />
	<s:fielderror>
		<s:param value="%{'software.name'}" />
	</s:fielderror>
	<br />
	<br />

	<label for="newapp_software_description">软件描述：</label>
	<br />
	<s:textarea name="software.description" cols="40" rows="6" />
	<s:fielderror>
		<s:param value="%{'software.description'}" />
	</s:fielderror>
	<br />
	<br />
	
	<label for="newapp_software_pricingStrategyType">计费模式：</label><span class="pl">确定计费模式后不可再更改</span>
	<br />
	<s:radio name="software.pricingStrategyType" list="#{'T':'按时间','P':'按功能'}" />
	<s:fielderror>
		<s:param value="%{'software.pricingStrategyType'}" />
	</s:fielderror>
	<br />
	<br />

	<label class="pure"><input type="checkbox" />我已阅读并接受《<a target="_blank" href="#">补充协议</a>》及《<a target="_blank" href="#">软件接入要求</a>》。</label>
	<br />
	<br />
	<s:submit value="完成注册" />
	<input type="button" value="取消" onclick="window.location.href='<s:url action="applist"/>';" />
</s:form></div>
</body>
</html>